package org.example.common.core.constants;

/**
 * 缓存的key 常量
 * 
 */
public class CacheConstants
{
    /**
     * token缓存前缀
     */
    public final static String LOGIN_TOKEN_KEY = "%s:login_tokens:%s:%s:%s";
    /**
     * 账号缓存前缀
     */
    public final static String LOGIN_ACCOUNT_KEY = "%s:login_account:%s:%s:%s";

    /**
     * TOKEN黑名单
     */
    public final static String TOKEN_BLACK_KEY="%s:token:black:%s";


    /**
     * 授权信息
     */
    public static final String AUTHORIZATION_MODEL= GlobalConstants.GLOBAL_REDIS_KEY+"authorizationModel:";


}
